package com.ruoyi.gbase.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 下发入库表对象 gbase_job_info
 * 
 * @author YYS
 * @date 2025-01-21
 */
public class GbaseJobInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String jobId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String jobName;

    /** 数据日期 */
    @Excel(name = "数据日期")
    private String etlDate;

    /** 库名 */
    @Excel(name = "库名")
    private String schemaName;

    /** 表名 */
    @Excel(name = "表名")
    private String tableName;

    /** 下发类型 */
    @Excel(name = "下发类型")
    private String sendCondition;

    /** 表变更 */
    @Excel(name = "表变更")
    private String tableChangeFlag;

    /** 影响行数 */
    @Excel(name = "影响行数")
    private int num;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 入库耗时 */
    @Excel(name = "入库耗时")
    private long secnum;

    /** DB2数量 */
    @Excel(name = "DB2数量")
    private int db2count;

    /** GBASE数量 */
    @Excel(name = "GBASE数量")
    private int gbasecount;

    /** 是否拉链 */
    @Excel(name = "是否拉链")
    private String isll;

    /** 拉链表名称 */
    @Excel(name = "拉链表名称")
    private String llname;

    /** 拉链开始日期 */
    @Excel(name = "拉链开始日期")
    private String llstartdt;

    /** 拉链结束日期 */
    @Excel(name = "拉链结束日期")
    private String llenddt;

    /** 拉链数据量 */
    @Excel(name = "拉链数据量")
    private int llcount;

    /** 是否增量 */
    @Excel(name = "是否增量")
    private String isinc;

    /** 增量表名称 */
    @Excel(name = "增量表名称")
    private String incname;

    /** 增量开始日期 */
    @Excel(name = "增量开始日期")
    private String incstartdt;

    /** 增量结束日期 */
    @Excel(name = "增量结束日期")
    private String incenddt;

    /** 增量数据量 */
    @Excel(name = "增量数据量")
    private int inccount;

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getEtlDate() {
        return etlDate;
    }

    public void setEtlDate(String etlDate) {
        this.etlDate = etlDate;
    }

    public String getSchemaName() {
        return schemaName;
    }

    public void setSchemaName(String schemaName) {
        this.schemaName = schemaName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getSendCondition() {
        return sendCondition;
    }

    public void setSendCondition(String sendCondition) {
        this.sendCondition = sendCondition;
    }

    public String getTableChangeFlag() {
        return tableChangeFlag;
    }

    public void setTableChangeFlag(String tableChangeFlag) {
        this.tableChangeFlag = tableChangeFlag;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public long getSecnum() {
        return secnum;
    }

    public void setSecnum(long secnum) {
        this.secnum = secnum;
    }

    public int getDb2count() {
        return db2count;
    }

    public void setDb2count(int db2count) {
        this.db2count = db2count;
    }

    public int getGbasecount() {
        return gbasecount;
    }

    public void setGbasecount(int gbasecount) {
        this.gbasecount = gbasecount;
    }

    public String getIsll() {
        return isll;
    }

    public void setIsll(String isll) {
        this.isll = isll;
    }

    public String getLlname() {
        return llname;
    }

    public void setLlname(String llname) {
        this.llname = llname;
    }

    public String getLlstartdt() {
        return llstartdt;
    }

    public void setLlstartdt(String llstartdt) {
        this.llstartdt = llstartdt;
    }

    public String getLlenddt() {
        return llenddt;
    }

    public void setLlenddt(String llenddt) {
        this.llenddt = llenddt;
    }

    public int getLlcount() {
        return llcount;
    }

    public void setLlcount(int llcount) {
        this.llcount = llcount;
    }

    public String getIsinc() {
        return isinc;
    }

    public void setIsinc(String isinc) {
        this.isinc = isinc;
    }

    public String getIncname() {
        return incname;
    }

    public void setIncname(String incname) {
        this.incname = incname;
    }

    public String getIncstartdt() {
        return incstartdt;
    }

    public void setIncstartdt(String incstartdt) {
        this.incstartdt = incstartdt;
    }

    public String getIncenddt() {
        return incenddt;
    }

    public void setIncenddt(String incenddt) {
        this.incenddt = incenddt;
    }

    public int getInccount() {
        return inccount;
    }

    public void setInccount(int inccount) {
        this.inccount = inccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("jobId", getJobId())
            .append("jobName", getJobName())
            .append("etlDate", getEtlDate())
            .append("schemaName", getSchemaName())
            .append("tableName", getTableName())
            .append("sendCondition", getSendCondition())
            .append("tableChangeFlag", getTableChangeFlag())
            .append("num", getNum())
            .append("endTime", getEndTime())
            .append("secnum", getSecnum())
            .append("db2count", getDb2count())
            .append("gbasecount", getGbasecount())
            .append("isll", getIsll())
            .append("llname", getLlname())
            .append("llstartdt", getLlstartdt())
            .append("llenddt", getLlenddt())
            .append("llcount", getLlcount())
            .append("isinc", getIsinc())
            .append("incname", getIncname())
            .append("incstartdt", getIncstartdt())
            .append("incenddt", getIncenddt())
            .append("inccount", getInccount())
            .toString();
    }
}
